{template 'header'}
<!--当前位置-->
<div class="location layout960">
	当前位置: <a href="{SITE_URL}">首页</a>&nbsp;»&nbsp; <a href="{SITE_URL}{$MODULE[$moduleid][moduledir]}/login.php">登陆</a>
</div>
<!--当前位置 end-->
<div class="layout960 fn-clear">
	<div class="log-left fn-left">&nbsp;</div>
	<div class="log-right fn-right">
		<h2>会员登录</h2>
		<form action="{$DT[file_login]}" method="post" id="pub-form">
			<input name="forward" type="hidden" id="forward" value="{$forward}">
			<table class="log-table">
				<tr>
					<td width="90"><label >用户名：</label></td>
					<td width="150"><input name="username" type="text"  id="lar_username" value="{$username}" class="graybd-ipt easyui-validatebox" data-options="required:true,missingMessage:'请输入登录名称'" ></td>
				</tr>
				<tr>
					<td><label >密码：</label></td>
					<td><!--{template 'lar_password', 'chip'}--></td>
				</tr>
				<!--{if $MOD[captcha_login]}-->
				<tr>
					<td><label >验证码：</label></td>
					<td><!--{template 'captcha', 'chip'}--></td>
				</tr>
				<!--{/if}-->
				<tr>
					<td colspan="2">
						<button type="submit" class="main-log-btn"  >登陆</button>
						<a href="register.php" class="main-log-btn">注册</a>
					</td>
				</tr>
				<tr>
					<td class="log-crumb" colspan="2">
						<input type="checkbox" name="cookietime" value="2592000" class="main-log-rem" id="main-log-rem"{if $MOD[login_remember]} checked{/if}/>
						<label for="main-log-rem">记住我</label>
						<a href="send.php">忘记密码？</a>
					</td>
				</tr>
				<!--{if $oa}-->
				其他登录：
				<!--{loop $OAUTH $k $v}-->
				<!--{if $v[enable]}-->
				<a href="{SITE_URL}api/oauth/{$k}/connect.php" title="{$v[name]}">
					<img src="{SITE_URL}api/oauth/{$k}/ico.png" alt="{$v[name]}"/>
				</a>
				<!--{/if}-->
				<!--{/loop}-->
				<!--{/if}-->
			</table>
		</form>
	</div>
</div>
<!--主体部分 end-->
<script type="text/javascript">
	seajs.use(['$','easyui','easyui-css'], function ($) {
		$('#pub-form').on('submit', function(){
			return $('#pub-form').form('validate');
		});
	});
</script>
{template 'footer'}